package com.bobo.service.admin;

import com.bobo.model.Admin;

import java.util.List;

/**
 * Created by bobo on 2016/10/24.
 */
public interface IAdminService {

    public Integer create(Admin admin);

    public boolean del(Integer id);

    public boolean upd(Admin admin);

    public Admin getAdmin(Integer id);

    public List<Admin> getAdmins();

    public Admin adminCompare(String name, String password);

}
